#ifndef TRANSLATE_DIALOG_H
#define TRANSLATE_DIALOG_H

#include <QDialog>
#include <QtGui>
#include "objectTreeItem.h"

class TranslateDialog : public QDialog{
    Q_OBJECT

    public:
        TranslateDialog(QList<QTreeWidgetItem *>, QWidget * = 0);
        ~TranslateDialog();

    signals:
        void done();

    private:
        QList<QTreeWidgetItem *> list;
        double translateX, translateY, translateZ;

    private slots:
        void acceptAndCreate();
        void changeTranslateX(double);
        void changeTranslateY(double);
        void changeTranslateZ(double);
};

#endif
